﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using FrameWork.Lib;

namespace REVISIONMAX30
{
    public static class Common
    {

        public static class Constants
        {
            public const string dataFilePath = @".\data.xml";
            public const string dataBackUpFilePath = @".\data-{0}-backup.xml";
            public const string dataSaveBackUpFilePath = @".\data-{0}-save-backup.xml";
        }
        
        
    

        public static string DefaultMySQLBatchPath
        {
            get
            {

                return System.Configuration.ConfigurationManager.AppSettings["DefaultMySQLBatchPath"].StringValueOrEmpty();
            }
        }

        //public static List<string> MySQLInstallationPathList
        //{
        //    get
        //    {
        //        throw new Exception("TODO");
        //        return new List<string>();
        //        //Microsoft.Win32.Registry.LocalMachine.
        //        //System.regi
        //        //DefaultMySQLBatchPath
        //    }
        //}

    }
}

